<?php
include './c/config.php';
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
 
for($i=1;$i<10;$i++){
	$sql="SELECT count(id) as COUNT FROM `xge_log` WHERE `maxid` LIKE '".$i."' ORDER BY `maxid` ASC";
	$query=$mysqli->query($sql);
	$getD=$query->fetch_array();
	$num=$getD['COUNT'];
	echo "结果".$i;
	echo "人数: $num";
	echo "<br>";
	 
}

$mysqli->close();

   
?>